package com.njlime.cms.repository.app;

import com.njlime.cms.entities.CommunityUp;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-10-10.
 */
public interface AppCommunityUpDao extends JpaRepository<CommunityUp, Integer>,JpaSpecificationExecutor<CommunityUp> {
    int upCount(Integer community_id,Integer user_id);
}
